<include file="Public/header" />
<include file="Public/menu" />

<!-- 内容页 -->
<div class="content-wrapper">
    <!-- 面包屑 -->
    <section class="content-header">
        <h1>
            商品
            <small>管理</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 商品管理</a></li>
            <li class="active">标签列表</li>
        </ol>
    </section>

    <!-- 内容 -->
    <section class="content"><div class="row"><div class="col-md-12"><div class="box">
        <div class="box-header">
            <h3 class="box-title">标签列表</h3>

            <!--<div class="form-inline pull-right">
                <form action="" method="get" pjax-container="">
                    <fieldset>
                        <div class="input-group input-group-sm">
                            <span class="input-group-addon"><strong>Id</strong></span>
                            <input type="text" class="form-control" placeholder="Id" name="id" value="">
                        </div>

                        <div class="input-group input-group-sm">
                            <div class="input-group-btn">
                                <button type="submit" class="btn btn-primary"><i class="fa fa-search"></i></button>
                            </div>
                        </div>

                    </fieldset>
                </form>
            </div>-->


            <div class="btn-group pull-right" style="margin-right: 10px">
                <a href="/admin/label/add" class="btn btn-sm btn-success"><i class="fa fa-save"></i>&nbsp;&nbsp;新增</a>
            </div>

        </div>
        <!-- /.box-header -->
        <div class="box-body table-responsive no-padding">
            <table class="table table-hover">
                <tbody>
                <tr>
                    <th><input type="checkbox" class="grid-select-all"></th>
                    <th>ID</th>
                    <th>标签名称</th>
                    <th>操作</th>
                </tr>
                <foreach name="label" item="v" >
                <tr>
                    <td><input type="checkbox" class="grid-item" data-id="1"></td>
                    <td>{$v.label_id}</td>
                    <td>{$v.label_name}</td>
                    <td>
                        <a href="/Admin/label/edit/id/{$v.label_id}"><i class="fa fa-edit"></i></a>
                        <a onclick="if(confirm('确定删除?')==false)return false;" href="/Admin/label/delete/id/{$v.label_id}" data-id="31" class="_delete"><i class="fa fa-trash"></i></a>
                    </td>
                </tr>
                </foreach>

                </tbody>
            </table>
        </div>
        <div class="box-footer clearfix">
            <input type="checkbox" class="grid-select-all">&nbsp;&nbsp;&nbsp;

            <a class="btn btn-sm btn-primary grid-refresh"><i class="fa fa-refresh"></i></a>

        </div>

        <!-- /.box-body -->
    </div></div></div>

    </section>
</div>
<!-- 底部 -->
<include file="Public/common_footer" />

